<?
$mid=$_GET['mid'];
$smid=$_GET['smid'];
@require_once 'class/NewModule.php';
$att1 = new NewModule();
?>
<?
if(isset($_POST['Submit']))
	{
		$att1->Add();

		print "<script>";
		print "self.location='modules.php?file=list_modules&mid=$mid&smid=$smid'";		
		print "</script>";	
	}
?>